
-- =============================================
-- Author:		Juan Carlos Ruacho Arellano
-- Create date: 23/08/2012
-- Description:	update linea de tiempo
-- =============================================
CREATE PROCEDURE [dbo].[LineTime_U]
(
    @id INT,
    @ResourceId INT,
    @ProyectId INT,
	@FechaInico DATETIME,
	@FechaFin DATETIME
)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	SET NOCOUNT ON;
    -- Insert statements for procedure here
    UPDATE LineaTiempo 
    SET recursoId = @ResourceId,
        proyectoId= @ProyectId,
        fechaInicio= @FechaInico,
        fechaFinal= @FechaFin
    WHERE id = @id     
    
SET NOCOUNT OFF;
END

GO
